package model;

/**
 * GameListenerAdapter defines the functions that a class
 * may want implement while listening to the GameModel class.
 * 
 * Derived from the GameListener Interface by Alex Craig
 * 
 * @author Robert Gillespie
 * @version 1.0
 */

public abstract class GameListenerAdapter implements GameListener{
	/**
	 * This function will be called whenever the player successfully makes a move.
	 * @param event	stores the source and additional details on the event
	 */
	public void playerMove(GameEvent event) {}
	
	/**
	 * This function will be called whenever the player dies.
	 * @param event	stores the source and additional details on the event
	 */
	public void playerDeath(GameEvent event){}
	
	/**
	 * This function is called whenever the game level is reset for any reason.
	 * @param event stores the source and additional details on the event
	 */
	public void levelReset(GameEvent event){}
	
	/**
	 * This function will be called if the player loses all their lives.
	 * @param event	stores the source and additional details on the event
	 */
	public void gameOver(GameEvent event){}
	
	/**
	 * This function will be called when every dot on the grid has been collected.
	 * @param event	stores the source and additional details on the event
	 */
	public void levelComplete(GameEvent event){}
	
	/**
	 * This function will be called when ever a new Game has been created
	 * @param event	stores the source and additional details on the event
	 */
	public void newGame(GameEvent event){}
}
